package com.egg.mall.entity.brand;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.egg.common.core.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * <p>
 * 品牌表
 * </p>
 *
 * @author east
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "mall_brand")
@ApiModel(value = "Brand对象", description = "品牌表")
public class Brand extends BaseEntity {


    @ApiModelProperty(value = "品牌名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "品牌LOGO地址")
    @TableField(value = "logo_url")
    private String logoUrl;

    @ApiModelProperty(value = "排序")
    @TableField(value = "sort")
    private Integer sort;


}
